﻿using System;

namespace ExpressionBodiedMembers
{
    internal class Program
    {
        public static void Main(string[] args)
        {
            // create object of student class
            Student s = new Student() { StudentName = "jack" };

            Console.WriteLine(s.StudentName);

            // Switch Expression
            int operation = 1; // 1 to 4
            string result;

            // result = operation switch
            // {
            //     1 => "Customer",
            //     2 => "Employee",
            //     3 => "Supplier",
            //     4 => "Distributor",
            //     _ => "No case available"
            // };
            //Console.WriteLine(result);

            Console.ReadKey();
        }
    }
}